<template>
  <div>
    ChildComp
    <p>{{ value }}</p>
    <button @click="$emit('input', value + 1)">+</button>
  </div>
</template>

<script>
export default {
  name: "ChildComp",
  props: {
    value: Number,
  },
};
</script>

<style scoped></style>
